package com.pureut.production.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.production.domain.ProcessCardLog;
import com.pureut.production.domain.dto.ProcessCardLogDto;
import com.pureut.production.domain.dto.PublicProcessDto;
import com.pureut.production.domain.vo.ProcessCardLogVo;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023-02-16 14:42:27
 * @Desc: 工艺卡日志
 */
public interface ProcessCardLogService extends IService<ProcessCardLog> {

    /**
     * 查询工艺卡日志列表
     * @param processCardLogVo
     * @return
     */
    List<ProcessCardLogDto> selectProcessCardLogList(ProcessCardLogVo processCardLogVo);

    /**
     * 新增工艺卡日志
     * @param processCardLogVo
     * @return
     */
    boolean insertProcessCardLog(ProcessCardLogVo processCardLogVo);

    /**
     * 查看工艺卡日志
     * @param id
     * @return
     */
    PublicProcessDto view(Long id);

    /**
     * 导出
     */
    XSSFWorkbook outputExcl(ProcessCardLogVo processCardLogVo);
}

